<?php

    class getData extends CustomCIUnitTestCase {

        public function __construct ()
        {
            parent::__construct ( 'getData' );

            $_GET = array (
                'acc_type' => 'private',
                'dest_hot' => '-1',
                'check_in' => '13.07.2013',
                'check_out' => '20.07.2013',
                'nr_adults' => '2'
            );
        }

        public function setUp ()
        {
            
        }

        public function tearDown ()
        {
            
        }

        public function test ()
        {
            if ( $_GET['dest_hot'] == '-1' )
                $_GET['dest_hot'] = "";
            $this->assertEqual( $_GET['dest_hot'], "");
        }

    }

?>